package com.wzx.data.entity;
import com.wzx.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 教师作业 实体类
 * @author wzx
 * @since 2023/03/20
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_teacher_work")
@TableName("a_teacher_work")
@ApiModel(value = "教师作业")
public class TeacherWork extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 作业名称
     */
    private String name;

    /**
     * 所属课程
     */
    private String courseId;

    /**
     * 教师Id
     */
    private String teacherId;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 文件路径
     */
    private String fileUrl;

    /**
     * 下载次数
     */
    private Integer count;


}